package com.zch.jh.service.dto;

import java.io.Serializable;

/**
 * A DTO for the {@link com.zch.jh.domain.Logistic} entity.
 */
public class LogisticDTO implements Serializable {
    
    private Long id;

    private Long orderId;

    private String sendName;

    private String sendPhone;

    private String sendAddress;

    private String receiveName;

    private String receivePhone;

    private String receiveAddress;

    private String logisticNo;

    private String logisticCompany;

    private String sendTime;

    private String receivedTime;

    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getSendName() {
        return sendName;
    }

    public void setSendName(String sendName) {
        this.sendName = sendName;
    }

    public String getSendPhone() {
        return sendPhone;
    }

    public void setSendPhone(String sendPhone) {
        this.sendPhone = sendPhone;
    }

    public String getSendAddress() {
        return sendAddress;
    }

    public void setSendAddress(String sendAddress) {
        this.sendAddress = sendAddress;
    }

    public String getReceiveName() {
        return receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName;
    }

    public String getReceivePhone() {
        return receivePhone;
    }

    public void setReceivePhone(String receivePhone) {
        this.receivePhone = receivePhone;
    }

    public String getReceiveAddress() {
        return receiveAddress;
    }

    public void setReceiveAddress(String receiveAddress) {
        this.receiveAddress = receiveAddress;
    }

    public String getLogisticNo() {
        return logisticNo;
    }

    public void setLogisticNo(String logisticNo) {
        this.logisticNo = logisticNo;
    }

    public String getLogisticCompany() {
        return logisticCompany;
    }

    public void setLogisticCompany(String logisticCompany) {
        this.logisticCompany = logisticCompany;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getReceivedTime() {
        return receivedTime;
    }

    public void setReceivedTime(String receivedTime) {
        this.receivedTime = receivedTime;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (!(o instanceof LogisticDTO)) {
            return false;
        }

        return id != null && id.equals(((LogisticDTO) o).id);
    }

    @Override
    public int hashCode() {
        return 31;
    }

    // prettier-ignore
    @Override
    public String toString() {
        return "LogisticDTO{" +
            "id=" + getId() +
            ", orderId=" + getOrderId() +
            ", sendName='" + getSendName() + "'" +
            ", sendPhone='" + getSendPhone() + "'" +
            ", sendAddress='" + getSendAddress() + "'" +
            ", receiveName='" + getReceiveName() + "'" +
            ", receivePhone='" + getReceivePhone() + "'" +
            ", receiveAddress='" + getReceiveAddress() + "'" +
            ", logisticNo='" + getLogisticNo() + "'" +
            ", logisticCompany='" + getLogisticCompany() + "'" +
            ", sendTime='" + getSendTime() + "'" +
            ", receivedTime='" + getReceivedTime() + "'" +
            "}";
    }
}
